%module OgreMeshManager

%{
#include "OGRE/OgreMeshManager.h"
%}

%import "OgrePrerequisites.i"
%import "OgreResourceManager.i"
%import "OgreMesh.i"
%import "OgreHardwareBuffer.i"

namespace Ogre {

	class MeshManager: public ResourceManager /*, public ManualResourceLoader*/
	 {
	 public:
		 MeshPtr load( const String& filename, const String& groupName,
			       HardwareBuffer::Usage vertexBufferUsage = HardwareBuffer::HBU_STATIC_WRITE_ONLY, 
			       HardwareBuffer::Usage indexBufferUsage = HardwareBuffer::HBU_STATIC_WRITE_ONLY, 
			       bool vertexBufferShadowed = true, bool indexBufferShadowed = true);
	 };
 }; //namespace
